package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class LanguageClause implements AlterRoutineCharacteristic, MethodCharacteristic, RoutineCharacteristic {

    private int beginIndex;
    private int endIndex;
    private LanguageName languageName;

    public LanguageClause(int beginIndex, int endIndex, LanguageName languageName) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.languageName = languageName;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public LanguageName getLanguageName() {
        return languageName;
    }

}
